package com.block.common.service;

import com.block.common.model.dto.MemberBaseInfoDTO;
import com.block.common.model.dto.NewMemberDTO;
import com.block.common.model.vo.SourceDictVO;
import com.block.db.entity.MemberBaseInfo;
import com.block.db.entity.MemberSourceDictInfo;

import java.util.List;

public interface IMemberCommonService {

    void updateMemberBaseInfoDTOInfo(MemberBaseInfoDTO memberBaseInfoDTO);

    MemberBaseInfoDTO getMemberBaseInfo(Long uid);

    MemberBaseInfo saveNewMemberInfo(NewMemberDTO newMemberDTO);

    List<SourceDictVO> getDictDataInfo(String channelCode);

    SourceDictVO queryDictInfoByValue(String dictValue);

    List<SourceDictVO> getMemberSourceDictList();
}
